package com.three.productList.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.three.core.entity.ProductType;
import com.three.core.vo.R;
import com.three.productList.vo.SearchForm;
import com.three.productList.vo.SearchForm2;

import java.util.List;

/**
 * @author ：li
 * @date ：Created in 2025/3/11 011 16:42
 * @description：
 * @modified By：
 * @version:
 */
public interface ProductTypeService {
    R<List<ProductType>> selectAllProductType();

    R<Page<ProductType>> selectProductTypes(SearchForm2 searchForm);

    R<ProductType> deleteProductTypeById(Integer commentId);

    R<ProductType> updateIseditByChangeId(Integer commentId, Long isedit);

    R<ProductType> addProductType(ProductType productType);

    R<ProductType> updateProductType(ProductType productType);
}
